package com.slanmao.mapper;

import com.slanmao.entity.Reply;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <CODE>ReplyMapper</CODE>
 *
 * @author fenrir
 * @Date 18-12-5
 */

@Repository
public interface ReplyMapper {
     
    Reply findReply(String keyword);


    boolean updateReply(Reply reply);


    boolean insert(Reply reply);

    List<Reply> list(Map<String,Integer> param);

    Integer count();

    boolean delete(Integer id);
}
